package model;

public class ConcreteFacade extends Facade {
	
	private static Facade instance;
	
	public static Facade getInstance() {
		if (instance == null) instance = new ConcreteFacade();
		return instance;
	}
	
	public void move(UnitEnum sourceUnit, UnitEnum destUnit, int data) {
		System.out.println( String.valueOf(data) + " from" + sourceUnit + " to" + destUnit );
	}	
	
	public void move(UnitEnum sourceUnit, UnitEnum destUnit, int address, int data) {
		System.out.println( String.valueOf(data) + " from" + sourceUnit + " to" + destUnit + " at address"  + String.valueOf(address) );
	}	
	
}
